<!doctype html>
<html lang="en">
    <head>
        <!-- 加载样式及META信息 -->
        {include file="common/meta" /}
    </head>
  <body>
 
          <!-- 头部区域 -->
    <header>
         {include file='common/header' /}
    </header>
 
 
 



    <div class="container-fluid " style="margin-top: 20px">



 

      
  <div class="row ">
    <div class="col-2  " style="max-width: 18rem;">
            <!-- 左侧菜单栏 -->
            <aside class="main-sidebar">
                {include file='common/menu' /}
            </aside>
   
    </div>

    <div class="col-10">
         
 

                   <div class="card">
              <h5 class="card-header">写日志</h5>
              <div class="card-body">


                <form  method="post"  action="{:url('admin/blog/add')}">
             
             <div class="form-group">
                <label for="formGroupExampleInput">日志标题</label>
                <input type="text" name="title"  class="form-control" id="formGroupExampleInput" placeholder="填写留言...">
              </div>
             

                <div class="form-group">
                <label for="exampleFormControlTextarea1">日志内容</label>
                <textarea class="form-control" name="content"  id="exampleFormControlTextarea1" rows="3"></textarea>
              </div>
              <button type="submit" class="btn btn-primary">提交日志</button>
            </form>

             
                 
              </div>
            </div>

 

        
 



  
 
    </div>
 
     
  </div>
</div>
 

      <!-- 底部 -->
    <footer>
      {include file="common/footer" /}
    </footer>
    
      

    <!-- 加载JS脚本 -->
    {include file="common/script" /}
  </body>
</html>